<%@codepage="65001"%>
<%session.codepage="65001"%>
<!-- #include virtual=/inc/dbConn.asp -->
<!-- #include virtual=/inc/function.asp -->
<!-- #include virtual=/inc/action.header.inc.asp -->

<%
	'## 파라미터 변수 선언부
	processCd		= Request("processCd")
	
	SQLTitle = "-- ■■■■ 단위공정 관리 상세 정보 ■■■■"
	
	SQL = "SELECT processCd, processNm, working, execTime, flag, type " & vbcrlf & _
		  " FROM tblUnitProcess WHERE processCd='" & processCd & "'"

	If xMode="debug" Then 
		Call showDebug(SQLTitle,SQL) 
	End If 

	Set Rs=Server.CreateObject("ADODB.RecordSet")
	Rs.open SQL, DbCon, 1
	
	Response.write "<ProcDetail>" & vbcrlf

	If Rs.eof Or Rs.bof Then 
	Else 
		Do Until Rs.eof Or Rs.bof

				Call mkXMLNode("processCd", rs("processCd"), 2)
				Call mkXMLNode("processNm", rs("processNm"), 2)
				Call mkXMLNode("working", rs("working"), 2)
				Call mkXMLNode("execTime", rs("execTime"), 2)
				Call mkXMLNode("type", Rs("type"), 2)
				Call mkXMLNode("flag", Rs("flag"), 2)

		Rs.movenext
		Loop 
	End If
	Response.write "</ProcDetail>" & vbcrlf
'	Call rsWithXML("Save OK!")
%>